package com.demo.test.other;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.base.tool.log.LogPrint;
import com.demo.Tags;

//正常页面，没有内存泄露
public class ActivityNormal extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

//        MainActivity.activity=this;
    }


    @Override
    protected void finalize() throws Throwable {
        super.finalize();
        LogPrint.e(Tags.gc, this.getLocalClassName() + "  finalize");
    }
}
